package com.lry.rpc.starter.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.lry.rpc.starter.extend.RpcComponentScanRegistrar;
import org.springframework.context.annotation.Import;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({RpcComponentScanRegistrar.class})
public @interface RpcComponentScan {
    String[] basePackages() default {};

    Class<?>[] basePackageClasses() default {};
}
